﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;

namespace WaveMaster.Holidays.Club.Domain
{
    public class ReportRequest
    {
        public long id;
        public string report_type;
        public long report_id;
        public string status;
        public string ip_address;
        public string m_macAddress;
        public string m_printerNameBP = string.Empty;
        public string m_printerNameWC = string.Empty;
        public string m_printerNameKIMS = string.Empty;

        public ReportRequest(MySqlDataReader rd)
        {
            id = Convert.ToInt32(rd["id"]);
            report_type = rd["report_type"].ToString();
            report_id = Convert.ToInt32(rd["report_id"]);
            status = rd["status"].ToString();
            ip_address = rd["ip_address"].ToString();
            m_macAddress = rd["m_macAddress"].ToString();
            m_printerNameBP = rd["m_printerNameBP"].ToString();
            m_printerNameWC = rd["m_printerNameWC"].ToString();
            m_printerNameKIMS = rd["m_printerNameKIMS"].ToString();
        }
    }

}
